home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / gfx / pbm / manuals.lha / netpbm / man / spottopgm.man < prev    next >
Text File  |  1994-03-01  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4.      spottopgm(1L)                 AMIGA                 spottopgm(1L)
  5.  
  6.  
  7.  
  8.      NAME
  9.           spottopgm - convert SPOT satellite images to Portable
  10.           Greymap format
  11.  
  12.      SYNTAX
  13.           spottopgm [-1|2|3] [Firstcol Firstline Lastcol Lastline]
  14.           inputfile
  15.  
  16.      OPTIONS
  17.           -1|2|3  Extract the given colour from the SPOT image. The
  18.                   colours are infra-red, visible light and ultra-
  19.                   violet, although I don't know which corresponds to
  20.                   which number. If the image is in colour, this will
  21.                   be announced on standard error. The default colour
  22.                   is 1.
  23.  
  24.           Firstcol Firstline Lastcol Lastline
  25.                   Extract the specified rectangle from the SPOT image.
  26.                   Most SPOT images are 3000 lines long and 3000 or
  27.                   more columns wide. Unfortunately the SPOT format
  28.                   only gives the width and not the length. The width
  29.                   is printed on standard error. The default rectangle
  30.                   is the width of the input image by 3000 lines.
  31.  
  32.      DESCRIPTION
  33.           Spottopgm converts the named inputfile into Portable Greymap
  34.           format, defaulting to the first color and the whole SPOT
  35.           image unless specified by the options.
  36.  
  37.      INSTALLATION
  38.           You must edit the source program and either define
  39.           BIG_ENDIAN or LITTLE_ENDIAN, and fix the typedefs for
  40.           uint32_t, uint16_t and uint8_t appropriately.
  41.  
  42.      BUGS
  43.           Currently spottopgm doesn't determine the length of the
  44.           input file; this would involve two passes over the input
  45.           file. It defaults to 3000 lines instead.
  46.  
  47.           Spottopgm could extract a three-color image (ppm), but I
  48.           didn't feel like making the program more complicated than it
  49.           is now. Besides, there is no one-to-one correspondence
  50.           between red, green, blue and infra-red, visible and ultra-
  51.           violet.
  52.  
  53.           I've only had a limited number of SPOT images to play with,
  54.           and therefore wouldn't guarantee that this will work on any
  55.           other images.
  56.  
  57.      AUTHOR
  58.           Warren Toomey  wkt@csadfa.cs.adfa.oz.au
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/1/94)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      spottopgm(1L)                 AMIGA                 spottopgm(1L)
  71.  
  72.  
  73.  
  74.      SEE ALSO
  75.           The rest of the Pbmplus suite.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                           (printed 3/1/94)
  130.  
  131.  
  132.  
  133.